package javaBean;

import java.util.List;

public class student {
    private String sno;
    private String sname;
    private String ssex;
    private String sbirthday;
    private String classz;

    private List<scores> scores;

    public student() {
    }

    public student(String sno, String sname, String ssex, String sbirthday, String classz, List<scores> scores) {
        this.sno = sno;
        this.sname = sname;
        this.ssex = ssex;
        this.sbirthday = sbirthday;
        this.classz = classz;
        this.scores = scores;
    }

    /**
     * 获取
     * @return sno
     */
    public String getSno() {
        return sno;
    }

    /**
     * 设置
     * @param sno
     */
    public void setSno(String sno) {
        this.sno = sno;
    }

    /**
     * 获取
     * @return sname
     */
    public String getSname() {
        return sname;
    }

    /**
     * 设置
     * @param sname
     */
    public void setSname(String sname) {
        this.sname = sname;
    }

    /**
     * 获取
     * @return ssex
     */
    public String getSsex() {
        return ssex;
    }

    /**
     * 设置
     * @param ssex
     */
    public void setSsex(String ssex) {
        this.ssex = ssex;
    }

    /**
     * 获取
     * @return sbirthday
     */
    public String getSbirthday() {
        return sbirthday;
    }

    /**
     * 设置
     * @param sbirthday
     */
    public void setSbirthday(String sbirthday) {
        this.sbirthday = sbirthday;
    }

    /**
     * 获取
     * @return classz
     */
    public String getClassz() {
        return classz;
    }

    /**
     * 设置
     * @param classz
     */
    public void setClassz(String classz) {
        this.classz = classz;
    }

    /**
     * 获取
     * @return scores
     */
    public List<scores> getScores() {
        return scores;
    }

    /**
     * 设置
     * @param scores
     */
    public void setScores(List<scores> scores) {
        this.scores = scores;
    }

    public String toString() {
        return "student{sno = " + sno + ", sname = " + sname + ", ssex = " + ssex + ", sbirthday = " + sbirthday + ", classz = " + classz + ", scores = " + scores + "}";
    }
}
